from django.shortcuts import render
from .models import Case,Person

# Create your views here.
def global_variable(request):
    cases = Case.objects.all().order_by('rank')
    people = Person.objects.all()
    return locals()

def list(request):
    return render(request,'people/index.html',locals())



